import { createApp } from 'vue'
import Cookies from 'js-cookie'
import ElementPlus from 'element-plus'
import locale from 'element-plus/es/locale/lang/zh-CN' // 中文语言
import 'element-plus/dist/index.css'

import './style.css'
import App from './App.vue'
import router from './router/index'






const app = createApp(App)

app.use(router)
app.use(ElementPlus, {
    locale: locale,
    // 支持 large、default、small
    size: Cookies.get('size') || 'default'
  })
app.mount('#app')
